package com.plugin.storage.storage.spi;


import com.plugin.storage.base.SdkContext;
import com.plugin.storage.storage.model.UploadFile;
import com.plugin.storage.storage.model.UploadFileReq;

public interface UploadProvider {

    UploadFile upload(SdkContext context, UploadFileReq uploadReq);

    UploadFile download(SdkContext sdkContext, UploadFileReq uploadReq);

    UploadFile.Auth auth(SdkContext sdkContext, UploadFileReq uploadReq);

    String url(SdkContext sdkContext, UploadFileReq uploadReq);
}
